﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework;

namespace Tanks
{
    class FireT34 : IFire
    {
        public FireT34(Game1 game, Vector2 position, float rotation)
            : base(game, position, rotation)
        {
            this.texture = game.Content.Load<Texture2D>("ProjectileT34");
            speed = 3.0f;
            this.position.X -= (float)((this.texture.Width / 2) * Math.Cos(rotation));
            this.position.Y -= (float)((this.texture.Width / 2) * Math.Sin(rotation));
            Properties.Damage = 25;
        }
    }
}
